<!DOCTYPE html>
<html>
<head lang="zh-CN">
    <meta charset="UTF-8">
    <link rel="icon"  type="image/x-icon" href="/static/icon.jpg">
    <link rel="stylesheet" type="text/css" href="/static/css/note-css.css">
    <title>{{ type }}素材</title>
</head>
<body data-id="{{ topic_id }}">
    <div class="nova-note-nav">
          <div>
            {{ user.name }}
        </div>
        <div>
            <a href="/note/material/list">
                素材列表
            </a>
        </div>
        <div>
            <a href="/note/history">
                发送历史
            </a>
        </div>
    </div>

    <div class="nova-note-material-box">
        <div class="nova-note-material-editor">
                <p>
                   添加标题： <input name="title" type="text" placeholder="标题" >
                </p>

                <iframe src="/static/u-editor/index.html" id= "theIframe" scrolling="no" frameborder= 0></iframe>
        </div>
        <div class="nova-note-material-preview">
            <p>
                     请扫二维码在手机上预览
            </p>
            <img  src="/static/images/default.jpg">


            <button class="nova-btn" id= "refreshQR" onfocus= "blur()">
                刷新二维码
            </button>
            <button class="nova-btn" id = "ensureSubmit"onfocus= "blur()">
               确认提交
            </button>
        </div>
    </div>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/note/add-material.js"></script>
</body>
</html>